package cn.wolfcode.luowowo.comment.repository;

import cn.wolfcode.luowowo.comment.domain.TravelComment;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface ITravelCommentRepository  extends MongoRepository<TravelComment, String> {
    List<TravelComment> findByUserId(Long userId);
}
